package model

import "gorm.io/gorm"

// 用户

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30);comment:用户名"`
	Password string `gorm:"type:varchar(32);comment:用户密码"`
}

// 门店

type Shop struct {
	gorm.Model
	ShopCode    string `gorm:"type:varchar(30);comment:门店编号"`
	ShopName    string `gorm:"type:varchar(30);comment:门店名称"`
	ShopAddress string `gorm:"type:varchar(30);comment:门店地址"`
}
